import {
    HTTP
} from "../utils/http.js"
class RechargeModel extends HTTP {
    tradeOrderListQuery(startTime, endTime,type) {
        return this.request({
            url: 'program/antProgramApiService/tradeOrderListQuery',
            data: {
                startTime, 
                endTime,
                type
            },
            method: 'POST'
        })
    }
    getCouponListByOrderId(orderId) {
        return this.request({
            url: 'program/antCouponService/getCouponListByOrderId',
            data: {
              orderId
            },
            method: 'POST'
        })
    }
    getActiveParam(actice) {
        return this.request({
            url: 'program/bjShellAntMiniProgramService/getActiveParam',
            data: {
              actice
            },
            method: 'POST'
        })
    }
    getPayDetail(tradeNo) {
        return this.request({
        url: 'program/antProgramApiService/tradeOrderQuery',
        data: {
            tradeNo
        },
        method: 'POST'
        })
    }

}
export {
    RechargeModel
}